const { Model } = require('sequelize')
const resourceSchema = require('./resourceSchema')
const sequelize = require('../../common/sequelize')


class Resource extends Model {

}

Resource.init(resourceSchema, {
  sequelize,
  timestamps: true,
  modelName: 'Resource',
  tableName: 'resources'
})


module.exports = Resource